Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Add Axpy_batch implementation #479

Merged
merged 11 commits into from
Nov 23, 2023

Conversation

s-Nick
Copy link
Collaborator

@s-Nick s-Nick commented Nov 9, 2023

This PR adds an implementation for extension operator axpy_batch. It adds tests and benchmark for available platforms.

include/operations/extension/axpy_batch.h Show resolved Hide resolved
src/interface/extension_interface.hpp Outdated Show resolved Hide resolved
src/operations/extension/axpy_batch.hpp Outdated Show resolved Hide resolved
src/operations/extension/axpy_batch.hpp Outdated Show resolved Hide resolved
test/unittest/extension/axpy_batch_test.cpp Show resolved Hide resolved
test/unittest/extension/axpy_batch_test.cpp Outdated Show resolved Hide resolved
src/interface/extension_interface.hpp Outdated Show resolved Hide resolved
value_t eval(index_t i);
value_t eval(cl::sycl::nd_item<1> ndItem);
template <typename sharedT>
value_t eval(sharedT shMem, cl::sycl::nd_item<1> ndItem);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't define eval function with shared memory so I think it's best to remove this declaration from the class.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the review @muhammad-tanvir-1211. I removed these two functions in 33621a5

@muhammad-tanvir-1211 muhammad-tanvir-1211 merged commit a6d044a into codeplaysoftware:master Nov 23, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants